package ch13.d1;

import org.junit.Test;

public class SingletonTest {
    @Test
    public void testA(){

        for (int i = 0; i < 5; i++) {
            A a1 = A.getInstance();
            a1.m1();
        }

    }

    public static void main(String[] args) {
        for (int i = 0; ; i++) {


            if(i==300){

                 System.exit(0);

            }


        }
    }
}
